Vimをhex editorとして使う
Vimを起動する $ vim -b any.bin
xxdを起動してbinary dump表示 :%!xxd
元に戻す :%!xxd -r
save して閉じる :wq